/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 * <LinearGradient start={{x: 0, y: 0}} end={{x: 1, y: 0}} colors={[COLOR_HEADER_START, COLOR_HEADER_END]} style={{flex: 1}}/>
 * @author: Pegasus  Date: 2018/11/22 Time: 23:18
 *
 * 导航栏背景
 */

import React, {Component} from 'react';
import LinearGradient from "react-native-linear-gradient";
import {COLOR_GRAY_BACKGROUND, COLOR_HEADER_END, COLOR_HEADER_START} from "../../constant/PHColors"

export default class HeaderBackground extends Component {

  render() {
    return (
      <LinearGradient start={{x: 0, y: 0}} end={{x: 1, y: 0}} colors={['#F2F2F2', '#F2F2F2']} style={{flex: 1}}/>
    )
  }
}

